#app {
  .el-header {
    padding: 0;
  }

  .el-tree {
    font-size: 16px;

    .el-tree-node__content {
      .tree_ellipsis {
        width: 100%;

        p {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
  }

  .el-button.is-circle {
    border-radius: 50%;
    padding: 12px;
  }

  /* table输入框公共样式 */
  .el-table {
    .el-table__row {
      &:hover,
      &.current-row {
        .table-cell-input {
          .el-input__inner {
            background-color: #F5F7FA;
            border-color: #dcdfe6;
          }
        }
      }
      .table-cell-input {
        .el-input__suffix {
          display: none;
        }
        .el-input__inner {
          font-weight: 400;
          font-size: 16px;
          color: #606266;
          border-color: transparent;
          background-color: #FFF;

          &:hover {
            color: #606266;
            border-color: #dcdfe6;
          }

          &:focus {
            border: 2px solid #409eff;
            background-color: #fff;
            box-shadow: 0 0 5px #409eff;
            -webkit-box-shadow: 0 0 5px #409eff;
            -ms-box-shadow: 0 0 5px #409eff;

            & + .el-input__suffix {
              display: block;
            }
          }
        }
      }
    }
  }

  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: #1eaca2 !important;
    border-radius: 13px;
    color: #fff;
    padding-right: 15px;
  }

  .el-tree-node__content>.el-tree-node__expand-icon {
    padding: 0 6px 0 0;
  }

  // .el-button:hover {
  //   background-color: #1d9fa1;
  //   border-color: #1d9fa1;
  //   color: #fff;
  // }
  // .el-button:focus {
  //   background-color: #1eaca2;
  //   border-color: #1eaca2;
  //   color: #fff;
  // }
  .el-button.is-disabled,
  .el-button.is-disabled:focus,
  .el-button.is-disabled:hover {
    background-color: #dadada;
    border-color: #dadada;
    color: #fff;
  }

  .el-dialog__wrapper {
    min-width: 1024px;
  }

  //表格选中某一行默认颜色
  .el-table__body tr.current-row>td {
    background: #C8FFF3 !important;
  }

  //表格滑过某一行默认颜色
  /deep/.el-table__body tr.hover-row>td {
    // background: #EEFCF9 !important;#d9f2ff
    background: #C8FFF3 !important;
  }

  /deep/.el-table--enable-row-hover .el-table__body tr:hover>td {
    background: #C8FFF3 !important;
  }

  .el-input .el-input__inner {
    color: @inputColor;
  }

  .el-input.is-disabled .el-input__inner {
    color: #c0c4cc;
  }

  .el-form-item__label {
    font-size: @defFontSize;
  }

  .el-table {
    font-size: 16px;
  }

  // el-checkbox选中颜色
  // .el-checkbox__input.is-checked .el-checkbox__inner {
  //   color: rgba(44, 214, 177, 1) !important;
  // }

  // .el-checkbox__input.is-checked .el-checkbox__inner {
  //   background-color: rgba(44, 214, 177, 1) !important;
  //   border-color: rgba(44, 214, 177, 1) !important;
  // }

  // .el-checkbox__input.is-checked+.el-checkbox__label {
  //   color: rgba(44, 214, 177, 1);
  // }

  // form表单及table表格嵌套使用，form-item的公共样式
  .el-form {
    .el-table {
      .el-table__row {
        .el-form-item {
          margin: 18px 0;

          .el-form-item__error {
            font-size: 12px;
            padding-top: 0;
          }
        }
      }
    }
  }

  // 处理各种规格下的栅格，目前自定义了3中规格，依靠自定义指令实现
  // c-xs、c-s、c-m、c-l、xl: <1000, >1000, >1054, >1470, >1920(此分辨率element已经定义)
  @media only screen and (min-width: 0px) {
    .el-col-c-xs-4 {
      width: 16.66667%;
    }

    .el-col-c-xs-6 {
      width: 25%;
    }

    .el-col-c-xs-8 {
      width: 33.33333%;
    }

    .el-col-c-xs-12 {
      width: 50%;
    }

    .el-col-c-xs-24 {
      width: 100%;
    }
  }

  @media only screen and (min-width: 1000px) {
    .el-col-c-s-4 {
      width: 16.66667%;
    }

    .el-col-c-s-6 {
      width: 25%;
    }

    .el-col-c-s-8 {
      width: 33.33333%;
    }

    .el-col-c-s-12 {
      width: 50%;
    }

    .el-col-c-s-24 {
      width: 100%;
    }
  }

  @media only screen and (min-width: 1054px) {
    .el-col-c-m-4 {
      width: 16.66667%;
    }

    .el-col-c-m-6 {
      width: 25%;
    }

    .el-col-c-m-8 {
      width: 33.33333%;
    }

    .el-col-c-m-12 {
      width: 50%;
    }

    .el-col-c-m-24 {
      width: 100%;
    }
  }

  @media only screen and (min-width: 1470px) {
    .el-col-c-l-4 {
      width: 16.66667%;
    }

    .el-col-c-l-6 {
      width: 25%;
    }

    .el-col-c-l-8 {
      width: 33.33333%;
    }

    .el-col-c-l-12 {
      width: 50%;
    }

    .el-col-c-l-24 {
      width: 100%;
    }
  }

  @media only screen and (min-width: 1920px) {
    .el-col-xl-4 {
      width: 16.66667%;
    }

    .el-col-xl-6 {
      width: 25%;
    }

    .el-col-xl-8 {
      width: 33.33333%;
    }

    .el-col-xl-12 {
      width: 50%;
    }

    .el-col-xl-24 {
      width: 100%;
    }
  }

  // checkbox删除margin-left,统一调整为margin-right
  .el-checkbox+.el-checkbox {
    margin-left: 0px;
  }

  .el-checkbox {
    margin-right: 30px;
  }

  .el-table .el-checkbox {
    margin-right: 0px;
  }

  // 表格左右边框用虚线以及表格样式
  .el-table--border td,
  .el-table--border th {
    border-right: 1px dashed #DBDCDE;
  }

  .el-table--border,
  .el-table--group {
    border-right: 1px dashed #DBDCDE;
    border-left: 1px dashed #DBDCDE;
  }

  /deep/.el-table--border th {
    background: #FAFAFA !important;
    width: 36px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    color: rgba(112, 112, 112, 1);
    font-weight: normal;
  }

  // 分页选中颜色
  .el-pagination.is-background .el-pager li.active {
    background-color: #61E1C5;
    color: #fff;
  }

  .el-pagination .el-select .el-input .el-input__inner {
    color: #4B525C;
    font-size: 14px;
    font-weight: normal;
  }

  .el-pagination__editor.el-input .el-input__inner {
    color: #4B525C;
    font-size: 14px;
    font-weight: normal;
  }

  .el-radio{
    margin-right: 30px;
    margin-bottom: 10px;
    margin-left: 0px !important;
  }
  // 解决v2.9.2 table height:100%;无效问题
  .el-table.selfAdaptive_H_table {
    height: 100% !important;
  }
}
